<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<div class="app">
    <section class="layout">
        <section class="main-content col-lg-12" id="operationLeftDiv">
            <div class="content-wrap">
                <div class="wrapper" style="bottom: 50px;">
                    <ul class="nav nav-tabs">
                        <li>
                            <a href="#">手术费用列表</a>
                        </li>
                    </ul>
                    <section class="panel panel-default">
                        <div class="panel-body">
                            <div class="form-group">
                                <form:form id="searchForm" modelAttribute="operationCost"
                                           onsubmit="return loadDivForm('mainCenterDiv','searchForm','${ctx}/operation/operationCost/check');"
                                           method="post" class="form-inline">
                                    <input name="pageNo" id="pageNo" type="hidden" value="${page.pageNo}"/>
                                    <input name="pageSize" id="pageSize" type="hidden" value="${page.pageSize}"/>
                                    <label>科室名称:&nbsp;&nbsp;</label>
                                    <form:input path="orderDept" maxlength="50" class="form-control"></form:input>
                                    <label>患者姓名:&nbsp;&nbsp;</label>
                                    <form:input path="patientName" maxlength="50" class="form-control"></form:input>
                                    <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
                                </form:form>
                            </div>
                            <div class="table-responsive no-border" id="contentDiv">
                                <table class="table table-bordered table-striped mg-t datatable" id="contentTable">
                                    <thead>
                                    <tr>
                                        <th>项目名称</th>
                                        <%--<th>患者姓名</th>--%>
                                        <th>开单科室</th>
                                        <th>开单医生</th>
                                        <th>数量</th>
                                        <th>诊疗项目分类</th>
                                        <th>合计</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <c:forEach items="${page.list}" var="operationCost">
                                        <tr>
                                            <td>${operationCost.itemName}</td>
                                            <%--<td>${operationCost.patientName}</td>--%>
                                            <td>${operationCost.orderDept}</td>
                                            <td>${operationCost.orderDoctor}</td>
                                            <td>${operationCost.amount}</td>
                                            <td>${operationCost.itemClass}</td>
                                            <td>${operationCost.SUN}</td>
                                        </tr>
                                    </c:forEach>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </section>
                </div>
            </div>
        </section>
</div>
